class AddStateToOrders < ActiveRecord::Migration
  def change
    add_column :orders, 'state', :string, limit: 10, default: 'new'
    add_index :orders, 'state'
    add_column :orders, 'quantity', :integer, :default => 1
  end
end
